import MyDate from "./MyDate/MyDate";
import './LogItem.css'
import Card from "../../../UI/Card/Card";

const Item = (props) => {
  return (
    <Card className="item">
        <MyDate date={props.date}/>
        <div className="content">
            <h2 className="title">{props.title}</h2>
            <p className="time">{props.time}分钟</p>
        </div>
    </Card>
  )
  
}

export default Item;
